% Filtered data


clear classes

% %fname = {'s1e6b1t3','s1e6b1t2','s1e6b1t8','s1e6b5t4','s1e6b5t5'};
% fname = {'s1e1b1t1','s1e1b1t2','s1e1b1t3',...
%     's1e1b1t4','s1e1b1t5','s1e1b1t6','s1e1b1t7','s1e1b1t8'};
% %fname = {'s2e1b1t4'};
experiment = 2;
subject = 3;
values  = zeros(8*5,3);
figure;
for j = 1
    for i = 1:8
        fname = [ 's' num2str(subject) 'e' ...
            num2str(experiment) 'b' num2str(j) 't' num2str(i) '.asc'];
        try
            edff = edffile(['../../../data/' fname]);
        catch
            continue
        end
        %        h = figure;
        figure
        analysis = eyetrackanalysis(edff);
        %analysis.plotTrial();
        %        save2pdf(['../../../data/pictures/' fname '.pdf'],h);
        %        close(h)
        analysis.plotVelocity()
        %values(i+(j-1)*8,:) = analysis.phaseMLE();
    end
end


